home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 July: Mac OS SDK / Dev.CD Jul 00 SDK2.toast / Development Kits / Cross Platform / QuickTime 4.1.2 Windows SDK / RIncludes / OpenTransportProtocol.r < prev    next >
Encoding:
Text File  |  2000-04-12  |  2.2 KB  |  86 lines  |  [TEXT/R*ch]

  1. /*
  2.      File:        OpenTransportProtocol.r
  3.  
  4.      Contains:    Definitions likely to be used by low-level protocol stack implementation.
  5.  
  6.      Version:    Technology:    2.5
  7.                  Release:    QuickTime 4.1
  8.  
  9.      Copyright:    © 1993-1999 by Apple Computer, Inc. and Mentat Inc., all rights reserved.
  10.  
  11.      Bugs?:        For bug reports, consult the following page on
  12.                  the World Wide Web:
  13.  
  14.                      http://developer.apple.com/bugreporter/
  15.  
  16. */
  17.  
  18. #ifndef __OPENTRANSPORTPROTOCOL_R__
  19. #define __OPENTRANSPORTPROTOCOL_R__
  20.  
  21. #ifndef __CONDITIONALMACROS_R__
  22. #include "ConditionalMacros.r"
  23. #endif
  24.  
  25. #if CALL_NOT_IN_CARBON
  26. #define kOTConfiguratorInterfaceID    kOTClientPrefix "cfigMkr"
  27. #define kOTConfiguratorCFMTag        kOTClientPrefix "cfigMkr"
  28. #endif
  29. #if CALL_NOT_IN_CARBON
  30. type 'otdr'
  31. {
  32.     unsigned integer    /* version        */    = 0x01;
  33.     wide array DeviceInfo
  34.     {
  35.         unsigned longint;        /* 'Creator' of preference file or....    */
  36.         pstring;                /* Name of preference file                */
  37.         align word;
  38.         pstring;                /* Device abbreviation, if appropriate    */
  39.         align word;
  40.         pstring;                /* Device Name                            */
  41.         align word;
  42.     };
  43. };
  44.  
  45. type 'epcf'
  46. {
  47.     unsigned integer    /* version        */    = 0x01;
  48.     unsigned integer;    /* protocolType    */
  49.     unsigned longint;    /* upperInterface    */
  50.     unsigned longint;    /* lowerInterface    */
  51.     unsigned longint;    /* flags            */
  52.     unsigned longint;    /* myXTILevel        */
  53.     unsigned integer = $$CountOf(OptionList);    /* Resource List        */
  54.     wide array OptionList
  55.     {
  56.         unsigned longint;        /* XTI Level of Options    */
  57.         unsigned longint;        /* XTI Name of Options    */
  58.         unsigned integer;        /* minOctets            */
  59.         unsigned integer;        /* maxOctets            */
  60.         unsigned integer;        /* optionType            */
  61.         pstring;                /* Option Name            */
  62.         align word;
  63.     };
  64. };
  65. /* ***** Configuration Helpers ******/
  66.  
  67. /*
  68.    These definitions are used by device driver and port scanner
  69.    developers to provide a library giving client-side information about
  70.    the registered ports, such as a user-visible name or an icon.
  71. */
  72.  
  73. /* Configuration helper library prefix*/
  74.  
  75. /*
  76.    This prefix is prepended to the string found in the "fResourceInfo"
  77.    field of the OTPortRecord to build the actual library name of the
  78.    configuration helper library.
  79. */
  80.  
  81. #define kPortConfigLibPrefix "OTPortCfg$"
  82. #endif
  83.  
  84. #endif /* __OPENTRANSPORTPROTOCOL_R__ */
  85.  
  86.